<template>
  <div class="com">
    <h1>
      vue3 +typescript +vite +eslint + prettier+stylelint+husky +
      commitlint+element-plus 模板
    </h1>
    <el-button type="primary" @click="test">测试</el-button>
    <Test></Test>
    <div></div>
    <br />
    <router-view></router-view>
  </div>
</template>
<script lang="ts" setup>
import Test from '@/components/Test.vue'
const test = () => {}
</script>
<style lang="sass" scoped></style>
